package com.test.demo.supers;

class People{
	String name;
	int age;
	
	People(){
		this.name = name;
		this.age = age;
	}
	
	People(String name, int age){
		this.name = name;
		this.age = age;
		System.out.println("my name is " + name + ", I'm " + age + " old. ");
	}
}

class Academician extends People{
	String number;
	
	Academician(String name, int age, String number){
		super(name, age);
		this.number = number;
		System.out.println("I'm is a student, my ID is " + number);
	}
}

public class SuperDemo2 {
	public static void main(String[] args){
		Academician ad = new Academician("zhangsan", 18, "20140115");
	}
}
